home *** CD-ROM | disk | FTP | other *** search
- {$IBoDecl}
- { ------------------------------------------------
- GETSTR reads string at X,Y into S for length LEN
- ------------------------------------------------
- Procedure GETSTR ( HV : Char;
- VAR S : AnyString;
- X : ColumnType;
- Y : RowType;
- LEN : Integer); }
-
- { If X=Y=0, then read begins at current cursor
- position. Otherwise read begins at (X,Y).
- On exit, cursor points to one beyond last
- byte read. }
- {$IGetStr}
- {$IPutStr}
-
- BEGIN
-
- ClrScr;
- PutStr (v,'I AM VERTICAL',1,1,7);
- GetStr (v,S,1,1,13);
- read;
- insert ('NO LONGER ',S,6);
- PutStr (h,S,1,15,14);
-
- END.